package com.dxq.springcloud.mapper;

import com.dxq.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DeptMapper {

    //实体类Dept 通过pom文件导入 然后再引用
    public boolean addDept(Dept dept);

    public Dept queryId(Long id);

    public List queryAll();
}
